home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
534.swf
/
scripts
/
frame_72
/
DoAction.as
Wrap
Text File
|
2006-01-17
|
2KB
|
122 lines
_root.ball_m._visible = 1;
if(10 < rounding)
{
_root.ball_m._rotation += 32 - cnt;
_root.ball_m.ball._y -= 1;
_root.ball_m.ball._x -= 1;
if(cnt eq 17)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 18)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 19)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 20)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 21)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 22)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 23)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 24)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 25)
{
_root.ballSound.gotoAndPlay("s_ballDrop");
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 26)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 27)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 28)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 29)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 30)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 31)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 32)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 23)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 34)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(cnt eq 35)
{
_root.ball_m._x += 2;
_root.ball_m._y += 2;
}
if(cnt eq 36)
{
_root.ball_m._x -= 2;
_root.ball_m._y -= 2;
}
if(random(10) + 27 < cnt)
{
_root.ball_m.play();
}
if(35 < cnt)
{
gotoAndStop(74);
}
cnt++;
}
else if(rounding < 10)
{
_root.ball_m._rotation += 40;
}